package iotwisp.school.user.service;

import iotwisp.base.orm.BaseDao;
import org.hibernate.Criteria;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import iotwisp.school.user.entity.AdminMenu;
import iotwisp.school.user.qo.AdminMenuQO;

@Service
@Transactional
public class AdminMenuService extends BaseDao<AdminMenu, AdminMenuQO> {

    @Override
    protected Criteria buildCriteria(Criteria criteria, AdminMenuQO qo) {
        return criteria;
    }

    @Override
    protected Class<AdminMenu> getEntityClass() {
        return AdminMenu.class;
    }
}
